<%@page import="com.oreilly.servlet.multipart.DefaultFileRenamePolicy"%>
<%@page import="com.oreilly.servlet.MultipartRequest"%>
<%@page import="day20131121.CustomerDao"%>
<%@page import="day20131121.Customer"%>
<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Insert title here</title>
<style>
#title{

width: 1100px;

}

#title{

width: 1100px;
}

	.board1{
	width:120px;
}

.board2{
	width:90px;
}

.board3{
	width:600px;
}

.board4{
	width:130px;
}

.board5{
	width:130px;
}
.board6{
	width:80px;
}
	



	
.tha{
	border:1px solid #EEEEEE;
	background-color:#eeeeee;
	padding:5px 0 20px 0; 
	vertical border-collapse: collapse;
}
span {
    display: block;
    float: left;
}


</style>

</head>
<body>
<jsp:useBean id="cto" class="day20131121.CustomerDao" scope="page"></jsp:useBean>
<jsp:setProperty property="*" name="cto"/>


<%
Customer customer = new Customer();
 int r = customer.insert(cto);
 if(r >0){
	 out.print("완료");
	 
 }else {
	 out.print("실패");
 }
%>
 
 

<br/>
<div id = 'title'>
<hr style=" width: 1100px;"/>
 게시판<br/>
<hr style=" width: 1100px;"/>
	
<span class ='board2' align='center'>글번호</span>
<span class ='board3' align='center'>제목</span>
<span class ='board4' align='center'>작성자</span>
<span class ='board5' align='right'>작성일자</span>
<span class ='board6' align='right'>답변상태</span>
	<!-- <a href = "./customer_main.jsp?cusInc=./customer_faq.jsp&cusInc6=./faq_view.jsp"></a>-->
	<!-- 글번호  제목   작성자       작성일자   답변상태 -->
	<pre>
	<hr style=" width: 1100px;"/>
	<%-- <%=cto.getSerial()%><%=cto.getJemok() %><%=cto.getMid() %><%=cto.getStatus() %>
	<hr style=" width: 1100px;"/> --%>
	 2     <a href = "./customer_main.jsp?cusInc=./customer_faq.jsp&cusInc6=./faq_view.jsp">연습</a>   사람2       2013년    대기중
	<hr style=" width: 1100px;"/>
	</pre>
	




</div>



<form name='Customer_form' method='post'>
	<input type="button" id='selectPage' value='목록' onclick="history.go(-1)"/>
	
	<input type='hidden' name='part' value='<%=cto.getPart() %>'/>
	<input type='hidden' name='nowPage' value='<%=cto.getNowPage() %>'/>
	<input type='hidden' name='serial' value='<%=cto.getSerial() %>'/>

</form>
	<%-- <form name='customer_form' method='post' id='customer_form'>
		<input type='hidden' name='part' value='<%=ct.getPart() %>'/>
		<input type='hidden' name='nowPage' value='<%=ct.getNowPage() %>' />
		<input type='hidden' name='findStr' value='<%=ct.getFindStr() %>' />
		<input type='button' value='목록' + '<%=faq_insert.jsp%>'/>
	</form>
 --%>

</body>
</html>